#自定义过滤器
def index_filter(index):
    if index==0:
        return 'first'
    elif index ==1:
        return 'second'
    elif index==2:
        return 'third'
    else:
        return